package com.cdxy.dmr.dataObject;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.time.LocalDateTime;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 热门搜索
 * </p>
 *
 * @author autoGenCode
 * @since 2020-03-05
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("hot_search")
@ApiModel(value="HotSearch对象", description="热门搜索")
public class HotSearchDO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "搜索名")
    @TableId(value = "name", type = IdType.INPUT)
    private String name;

    @ApiModelProperty(value = "搜索次数")
    private Integer count;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updateTime;


}
